import request from "@/utils/request";
import { AxiosPromise } from "axios";
import { SettingQuery, SettingVO } from "./types";

/**
 * 获取问题分页
 * @param queryParams
 */
export function listSetting(
  queryParams?: SettingQuery
): AxiosPromise<TreeResult<SettingVO>[]> {
  return request({
    url: "buss/setting/list",
    method: "get",
    params: queryParams,
  });
}
